package com.ydy.service.requestLog;

import java.util.Date;
import java.util.List;

import com.ydy.model.RequestLog;
import com.ydy.vo.RequestLogCountVo;
import com.ydy.vo.other.PageVo;

public interface RequestLogService {
	PageVo<RequestLog> select(RequestLog requestLog, Integer page, Integer size);

	RequestLog saveOrUpdate(RequestLog requestLog);

	List<RequestLogCountVo> selectCountByDay(Date startTime, Date endTime);

	List<RequestLogCountVo> selectIpCountByDay(Date startTime, Date endTime);

	List<RequestLogCountVo> selectCountByHour(Date date);
}
